import { Module } from '@nestjs/common';
import { RechargeService } from './recharge.service';
import { RechargeController } from './recharge.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { RechargeOrder } from '@app/db/entities/RechargeOrder';
import { WechatModule } from '../wechat/wechat.module';
import { RechargeTemp, RechargeTempSchema } from '@app/mongodb/schemas/rechargeTemp';
import { MongooseModule } from '@nestjs/mongoose';
import { RechargeOption } from '@app/db/entities/RechargeOption';

@Module({
  imports : [TypeOrmModule.forFeature([RechargeOrder, RechargeOption]), MongooseModule.forFeature([{name : RechargeTemp.name, schema : RechargeTempSchema}]), WechatModule],
  providers: [RechargeService],
  controllers: [RechargeController]
})
export class RechargeModule {}
